package com.deep.deepenterpise.model.to.gas;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author xyz
 * @version 1.0
 * @title DrAddPersonnel
 * @description
 * @create 2024/4/25 10:53
 */
@Data
public class DrAddPersonnelTo {
    @NotBlank(message = "员工姓名不能为空")
    private String drPersonName;

    @NotBlank(message = "身份证号不能为空")
    private String drIdentCardNum;

    @NotBlank(message = "联系人电话不能为空")
    private String drPhone;

    @NotNull(message = "岗位类型不能为空")
    @Max(value = 99, message = "岗位类型不能为空")
    @Min(value = 1, message = "岗位类型不能为空")
    private Integer drPositionType;

    @NotBlank(message = "证书名称不能为空")
    private String drCertificateName;

    @NotBlank(message = "证书号不能为空")
    private String drCertificateNum;

    @NotBlank(message = "证书到期日期不能为空")
    private String drCertificateExpireDate;

    @NotBlank(message = "社保账号不能为空")
    private String drSocialSecNum;

    @NotNull(message = "员工状态不能为空")
    private Integer drState;

    private Long drCreateTime;
}
